package com.bailugansan.efficiencyboard.service;

import com.bailugansan.efficiencyboard.entity.pool.AddPoolEntity;
import com.bailugansan.efficiencyboard.entity.pool.RemovePoolEntity;
import com.bailugansan.efficiencyboard.entity.pool.UpdatePoolEntity;
import com.bailugansan.efficiencyboard.vo.PoolVo;

import java.util.List;

/**
 * @author BailuGansan
 */
public interface PoolService {

    /**
     *
     * @param entity
     * @param uid
     * @return
     */
    boolean addPool(AddPoolEntity entity, String uid);

    /**
     *
     * @param entity
     * @param uid
     * @return
     */
    boolean updatePool(UpdatePoolEntity entity, String uid);

    /**
     *
     * @param entity
     * @param uid
     * @return
     */
    boolean removePool(RemovePoolEntity entity, String uid);

    List<PoolVo> getPoolVos(String uid);

    /**
     *
     * @param uid
     * @return
     */
    boolean init(String uid);
}
